$(document).ready( function() {
	$("#add_but").click( function() {
		$.post("addmodel",{name:$("#name").val(),tablename:$("#tablename").val(),description:$("#description").val(),category_template:$("#category_template").val(),list_template:$("#list_template").val(),show_template:$("#show_template").val()},function(msg){
			alert(msg);
		});
	});
	
})